package com.xxg.renrenorder.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 商品结算清单
 *
 * @author xxg
 * @date 2020/11/26
 */
@Data
@ApiModel(value = "ProductAccount", description = "商品结算清单")
public class ProductAccount {
    @NotNull(message = "skuId不能为null")
    @ApiModelProperty(value = "商品规格ID", required = true)
    private Integer skuId;
    @NotNull(message = "spuId不能为null")
    @ApiModelProperty(value = "商品ID", required = true)
    private Integer spuId;
    @NotNull(message = "quantity不能为null")
    @ApiModelProperty(value = "商品数量", required = true)
    private Integer quantity;
}
